import Layout from '@/layout'

const settintCenterRouter = [
  {
    path: '/settingCenter',
    component: Layout,
    name: 'settingCenter',
    redirect: '/settingCenter/mallBaseInfo',
    alwaysShow: true,
    meta: { title: 'settingCenter', icon: 'zip' },
    // redirect: '/settingCenter/mallInfoSetting',
    children: [
      {
        path: 'mallBaseInfo',
        component: () => import('@/views/settingCenter/mallInfoSetting/components/mallBaseInfo'),
        name: 'mallBaseInfo',
        meta: { title: '商场信息 - ' }
      },
      {
        path: 'buildingInfo',
        component: () => import('@/views/settingCenter/mallInfoSetting/buildingInfo'),
        name: 'buildingInfo',
        meta: { title: '楼栋楼层 - ' }
      },
      {
        path: 'commercialTenant',
        component: () => import('@/views/settingCenter/mallInfoSetting/commercialTenant'),
        name: 'commercialTenant',
        meta: { title: '商户信息 - ' }
      },
      {
        path: 'bunkInfo',
        component: () => import('@/views/settingCenter/mallInfoSetting/bunkInfo'),
        name: 'bunkInfo',
        meta: { title: '铺位信息 - ' }
      },
      {
        path: 'commercialActivities',
        component: () => import('@/views/settingCenter/mallInfoSetting/commercialActivities'),
        name: 'commercialActivities',
        meta: { title: '业态信息 - ' }
      },
      {
        path: 'commercialBrandStyle',
        component: () => import('@/views/settingCenter/mallInfoSetting/commercialBrandStyle'),
        name: 'commercialBrandStyle',
        meta: { title: '品牌风格 - ' }
      },
      {
        path: 'mallShopSetting',
        meta: { title: 'mallShopSetting' },
        component: () => import('@/views/settingCenter/mallShopSetting/index'),
        name: 'mallShopSetting'
      },
      {
        path: 'shopInitialize',
        meta: { title: '店铺初始化 - ' },
        component: () => import('@/views/settingCenter/mallShopSetting/shopInitialize'),
        name: 'shopInitialize'
      },
      {
        path: 'shopRemoveShop',
        meta: { title: '店铺撤铺管理 - ' },
        component: () => import('@/views/settingCenter/mallShopSetting/shopRemoveShop'),
        name: 'shopRemoveShop'
      },
      {
        path: 'shopRoleManage',
        meta: { title: '店铺角色管理 - ' },
        component: () => import('@/views/settingCenter/mallShopSetting/shopRoleManage'),
        name: 'shopRoleManage'
      },
      {
        path: 'shopStaffManage',
        meta: { title: '店铺员工管理 - ' },
        component: () => import('@/views/settingCenter/mallShopSetting/shopStaffManage'),
        name: 'shopStaffManage'
      },
      {
        path: 'shopInfoSetting',
        meta: { title: 'shopInfoSetting' },
        component: () => import('@/views/settingCenter/mallShopSetting/shopInfoSetting'),
        name: 'shopInfoSetting'
      },
      {
        path: 'shopRoleSetting',
        meta: { title: 'shopRoleSetting' },
        component: () => import('@/views/settingCenter/mallShopSetting/shopRoleSetting'),
        name: '店铺角色设置'
      },
      {
        path: 'shopStaffSetting',
        meta: { title: 'shopStaffSetting' },
        component: () => import('@/views/settingCenter/mallShopSetting/shopStaffSetting'),
        name: 'shopStaffSetting'
      },
      {
        path: 'shopHomePageSetting',
        meta: { title: 'shopHomePageSetting' },
        component: () => import('@/views/settingCenter/mallShopSetting/shopHomePageSetting'),
        name: 'shopHomePageSetting'
      },
      {
        path: 'shopGoodsMaintain',
        meta: { title: 'shopGoodsMaintain' },
        component: () => import('@/views/settingCenter/mallShopSetting/shopGoodsMaintain'),
        name: 'shopGoodsMaintain'
      },
      {
        path: 'shopOrderManage',
        meta: { title: 'shopOrderManage' },
        component: () => import('@/views/settingCenter/mallShopSetting/shopOrderManage'),
        name: 'shopOrderManage'
      },
      {
        path: 'shopOrderInfo',
        meta: { title: 'shopOrderInfo' },
        component: () => import('@/views/settingCenter/mallShopSetting/orderInfo'),
        name: 'shopOrderInfo'
      }
    ]
  }
]
export default settintCenterRouter
